package org.dtrd.modules.shop.service;

import org.dtrd.common.api.vo.Result;
import org.dtrd.modules.shop.entity.bean.*;
import org.dtrd.modules.shop.entity.po.DtrdEntShcRdOrderRefund;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 商城订单退款表服务类
 * </p>
 *
 * @author sun
 * @since 2022-07-25
 */
public interface IDtrdEntShcRdOrderRefundService extends IService<DtrdEntShcRdOrderRefund> {

    List<OrderRefundListInfo> getOrderRefundList(OrderRefundListRequest request);

    IPage<OrderRefundListInfo> pageOrderRefund(OrderRefundPageRequest request);

    OrderRefundDetail getOrderRefund(Integer dataId);
    OrderRefundDetail getOrderRefundByOrderId(String orderId);

    Result saveOrUpdateOrderRefund(OrderRefundDetail dto);

    boolean removeOrderRefund(Integer dataId);

    boolean orderRefundVerify(OrderRefundVerifyRequest verifyRequest);
}
